package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_finance].[dbo].TCW_FinancesApiInFoId", catalog="Id")
public class TcwFinancesApiInFoId extends BaseEntity<TcwFinancesApiInFoId> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Type", nameJava="type", typeDataBase="varchar")
	private String type;
	@YsField(nameDataBase="Sku", nameJava="sku", typeDataBase="varchar")
	private String sku;
	@YsField(nameDataBase="Quantity", nameJava="quantity", typeDataBase="int")
	private Integer quantity;
	@YsField(nameDataBase="ProductSales", nameJava="productSales", typeDataBase="decimal")
	private BigDecimal productSales;
	@YsField(nameDataBase="ProductSalesTax", nameJava="productSalesTax", typeDataBase="decimal")
	private BigDecimal productSalesTax;
	@YsField(nameDataBase="PostageCredits", nameJava="postageCredits", typeDataBase="decimal")
	private BigDecimal postageCredits;
	@YsField(nameDataBase="ShippingCreditsTax", nameJava="shippingCreditsTax", typeDataBase="decimal")
	private BigDecimal shippingCreditsTax;
	@YsField(nameDataBase="GiftWrapCredits", nameJava="giftWrapCredits", typeDataBase="decimal")
	private BigDecimal giftWrapCredits;
	@YsField(nameDataBase="GiftwrapCreditsTax", nameJava="giftwrapCreditsTax", typeDataBase="decimal")
	private BigDecimal giftwrapCreditsTax;
	@YsField(nameDataBase="PromotionalRebates", nameJava="promotionalRebates", typeDataBase="decimal")
	private BigDecimal promotionalRebates;
	@YsField(nameDataBase="PromotionalRebatesTax", nameJava="promotionalRebatesTax", typeDataBase="decimal")
	private BigDecimal promotionalRebatesTax;
	@YsField(nameDataBase="MarketplaceWithheldTax", nameJava="marketplaceWithheldTax", typeDataBase="decimal")
	private BigDecimal marketplaceWithheldTax;
	@YsField(nameDataBase="SellingFees", nameJava="sellingFees", typeDataBase="decimal")
	private BigDecimal sellingFees;
	@YsField(nameDataBase="FbaFees", nameJava="fbaFees", typeDataBase="decimal")
	private BigDecimal fbaFees;
	@YsField(nameDataBase="OtherTransactionFees", nameJava="otherTransactionFees", typeDataBase="decimal")
	private BigDecimal otherTransactionFees;
	@YsField(nameDataBase="Other", nameJava="other", typeDataBase="decimal")
	private BigDecimal other;
	@YsField(nameDataBase="Total", nameJava="total", typeDataBase="decimal")
	private BigDecimal total;
	@YsField(nameDataBase="FinancialEventGroupId", nameJava="financialEventGroupId", typeDataBase="varchar")
	private String financialEventGroupId;
	@YsField(nameDataBase="GroupId", nameJava="groupId", typeDataBase="varchar")
	private String groupId;
	@YsField(nameDataBase="PurchaseDate", nameJava="purchaseDate", typeDataBase="datetime")
	private Date purchaseDate;
	@YsField(nameDataBase="DataType", nameJava="dataType", typeDataBase="varchar")
	private String dataType;
	@YsField(nameDataBase="ThereDataType", nameJava="thereDataType", typeDataBase="varchar")
	private String thereDataType;
	@YsField(nameDataBase="ProductCode", nameJava="productCode", typeDataBase="varchar")
	private String productCode;
	@YsField(nameDataBase="Goodwill", nameJava="goodwill", typeDataBase="decimal")
	private BigDecimal goodwill;
	@YsField(nameDataBase="VariableClosingFee", nameJava="variableClosingFee", typeDataBase="decimal")
	private BigDecimal variableClosingFee;
	@YsField(nameDataBase="RestockingFee", nameJava="restockingFee", typeDataBase="decimal")
	private BigDecimal restockingFee;
	@YsField(nameDataBase="GiftwrapChargeback", nameJava="giftwrapChargeback", typeDataBase="decimal")
	private BigDecimal giftwrapChargeback;
	@YsField(nameDataBase="ProductName", nameJava="productName", typeDataBase="varchar")
	private String productName;
	@YsField(nameDataBase="LowValueGoods", nameJava="lowValueGoods", typeDataBase="decimal")
	private BigDecimal lowValueGoods;
	@YsField(nameDataBase="GetPaidFasterFee", nameJava="getPaidFasterFee", typeDataBase="decimal")
	private BigDecimal getPaidFasterFee;
	@YsField(nameDataBase="ShippingHB", nameJava="shippingHB", typeDataBase="decimal")
	private BigDecimal shippingHB;
	@YsField(nameDataBase="AmazonOrderId", nameJava="amazonOrderId", typeDataBase="varchar")
	private String amazonOrderId;
	@YsField(nameDataBase="Surplus", nameJava="surplus", typeDataBase="decimal")
	private BigDecimal surplus;
	@YsField(nameDataBase="StartDate", nameJava="startDate", typeDataBase="datetime")
	private Date startDate;
	@YsField(nameDataBase="EndDate", nameJava="endDate", typeDataBase="datetime")
	private Date endDate;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="Currency", nameJava="currency", typeDataBase="varchar")
	private String currency;
	@YsField(nameDataBase="ShopNameMc", nameJava="shopNameMc", typeDataBase="varchar")
	private String shopNameMc;
	@YsField(nameDataBase="CompanyID", nameJava="companyID", typeDataBase="varchar")
	private String companyID;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwFinancesApiInFoId setId(Long id) {
		this.id = id;
		return this;
	}
	public String getType() {
		return type;
	}
	public TcwFinancesApiInFoId setType(String type) {
		this.type = type;
		return this;
	}
	public String getSku() {
		return sku;
	}
	public TcwFinancesApiInFoId setSku(String sku) {
		this.sku = sku;
		return this;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public TcwFinancesApiInFoId setQuantity(Integer quantity) {
		this.quantity = quantity;
		return this;
	}
	public BigDecimal getProductSales() {
		return productSales;
	}
	public TcwFinancesApiInFoId setProductSales(BigDecimal productSales) {
		this.productSales = productSales;
		return this;
	}
	public BigDecimal getProductSalesTax() {
		return productSalesTax;
	}
	public TcwFinancesApiInFoId setProductSalesTax(BigDecimal productSalesTax) {
		this.productSalesTax = productSalesTax;
		return this;
	}
	public BigDecimal getPostageCredits() {
		return postageCredits;
	}
	public TcwFinancesApiInFoId setPostageCredits(BigDecimal postageCredits) {
		this.postageCredits = postageCredits;
		return this;
	}
	public BigDecimal getShippingCreditsTax() {
		return shippingCreditsTax;
	}
	public TcwFinancesApiInFoId setShippingCreditsTax(BigDecimal shippingCreditsTax) {
		this.shippingCreditsTax = shippingCreditsTax;
		return this;
	}
	public BigDecimal getGiftWrapCredits() {
		return giftWrapCredits;
	}
	public TcwFinancesApiInFoId setGiftWrapCredits(BigDecimal giftWrapCredits) {
		this.giftWrapCredits = giftWrapCredits;
		return this;
	}
	public BigDecimal getGiftwrapCreditsTax() {
		return giftwrapCreditsTax;
	}
	public TcwFinancesApiInFoId setGiftwrapCreditsTax(BigDecimal giftwrapCreditsTax) {
		this.giftwrapCreditsTax = giftwrapCreditsTax;
		return this;
	}
	public BigDecimal getPromotionalRebates() {
		return promotionalRebates;
	}
	public TcwFinancesApiInFoId setPromotionalRebates(BigDecimal promotionalRebates) {
		this.promotionalRebates = promotionalRebates;
		return this;
	}
	public BigDecimal getPromotionalRebatesTax() {
		return promotionalRebatesTax;
	}
	public TcwFinancesApiInFoId setPromotionalRebatesTax(BigDecimal promotionalRebatesTax) {
		this.promotionalRebatesTax = promotionalRebatesTax;
		return this;
	}
	public BigDecimal getMarketplaceWithheldTax() {
		return marketplaceWithheldTax;
	}
	public TcwFinancesApiInFoId setMarketplaceWithheldTax(BigDecimal marketplaceWithheldTax) {
		this.marketplaceWithheldTax = marketplaceWithheldTax;
		return this;
	}
	public BigDecimal getSellingFees() {
		return sellingFees;
	}
	public TcwFinancesApiInFoId setSellingFees(BigDecimal sellingFees) {
		this.sellingFees = sellingFees;
		return this;
	}
	public BigDecimal getFbaFees() {
		return fbaFees;
	}
	public TcwFinancesApiInFoId setFbaFees(BigDecimal fbaFees) {
		this.fbaFees = fbaFees;
		return this;
	}
	public BigDecimal getOtherTransactionFees() {
		return otherTransactionFees;
	}
	public TcwFinancesApiInFoId setOtherTransactionFees(BigDecimal otherTransactionFees) {
		this.otherTransactionFees = otherTransactionFees;
		return this;
	}
	public BigDecimal getOther() {
		return other;
	}
	public TcwFinancesApiInFoId setOther(BigDecimal other) {
		this.other = other;
		return this;
	}
	public BigDecimal getTotal() {
		return total;
	}
	public TcwFinancesApiInFoId setTotal(BigDecimal total) {
		this.total = total;
		return this;
	}
	public String getFinancialEventGroupId() {
		return financialEventGroupId;
	}
	public TcwFinancesApiInFoId setFinancialEventGroupId(String financialEventGroupId) {
		this.financialEventGroupId = financialEventGroupId;
		return this;
	}
	public String getGroupId() {
		return groupId;
	}
	public TcwFinancesApiInFoId setGroupId(String groupId) {
		this.groupId = groupId;
		return this;
	}
	public Date getPurchaseDate() {
		return purchaseDate;
	}
	public TcwFinancesApiInFoId setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
		return this;
	}
	public String getDataType() {
		return dataType;
	}
	public TcwFinancesApiInFoId setDataType(String dataType) {
		this.dataType = dataType;
		return this;
	}
	public String getThereDataType() {
		return thereDataType;
	}
	public TcwFinancesApiInFoId setThereDataType(String thereDataType) {
		this.thereDataType = thereDataType;
		return this;
	}
	public String getProductCode() {
		return productCode;
	}
	public TcwFinancesApiInFoId setProductCode(String productCode) {
		this.productCode = productCode;
		return this;
	}
	public BigDecimal getGoodwill() {
		return goodwill;
	}
	public TcwFinancesApiInFoId setGoodwill(BigDecimal goodwill) {
		this.goodwill = goodwill;
		return this;
	}
	public BigDecimal getVariableClosingFee() {
		return variableClosingFee;
	}
	public TcwFinancesApiInFoId setVariableClosingFee(BigDecimal variableClosingFee) {
		this.variableClosingFee = variableClosingFee;
		return this;
	}
	public BigDecimal getRestockingFee() {
		return restockingFee;
	}
	public TcwFinancesApiInFoId setRestockingFee(BigDecimal restockingFee) {
		this.restockingFee = restockingFee;
		return this;
	}
	public BigDecimal getGiftwrapChargeback() {
		return giftwrapChargeback;
	}
	public TcwFinancesApiInFoId setGiftwrapChargeback(BigDecimal giftwrapChargeback) {
		this.giftwrapChargeback = giftwrapChargeback;
		return this;
	}
	public String getProductName() {
		return productName;
	}
	public TcwFinancesApiInFoId setProductName(String productName) {
		this.productName = productName;
		return this;
	}
	public BigDecimal getLowValueGoods() {
		return lowValueGoods;
	}
	public TcwFinancesApiInFoId setLowValueGoods(BigDecimal lowValueGoods) {
		this.lowValueGoods = lowValueGoods;
		return this;
	}
	public BigDecimal getGetPaidFasterFee() {
		return getPaidFasterFee;
	}
	public TcwFinancesApiInFoId setGetPaidFasterFee(BigDecimal getPaidFasterFee) {
		this.getPaidFasterFee = getPaidFasterFee;
		return this;
	}
	public BigDecimal getShippingHB() {
		return shippingHB;
	}
	public TcwFinancesApiInFoId setShippingHB(BigDecimal shippingHB) {
		this.shippingHB = shippingHB;
		return this;
	}
	public String getAmazonOrderId() {
		return amazonOrderId;
	}
	public TcwFinancesApiInFoId setAmazonOrderId(String amazonOrderId) {
		this.amazonOrderId = amazonOrderId;
		return this;
	}
	public BigDecimal getSurplus() {
		return surplus;
	}
	public TcwFinancesApiInFoId setSurplus(BigDecimal surplus) {
		this.surplus = surplus;
		return this;
	}
	public Date getStartDate() {
		return startDate;
	}
	public TcwFinancesApiInFoId setStartDate(Date startDate) {
		this.startDate = startDate;
		return this;
	}
	public Date getEndDate() {
		return endDate;
	}
	public TcwFinancesApiInFoId setEndDate(Date endDate) {
		this.endDate = endDate;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TcwFinancesApiInFoId setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public String getCurrency() {
		return currency;
	}
	public TcwFinancesApiInFoId setCurrency(String currency) {
		this.currency = currency;
		return this;
	}
	public String getShopNameMc() {
		return shopNameMc;
	}
	public TcwFinancesApiInFoId setShopNameMc(String shopNameMc) {
		this.shopNameMc = shopNameMc;
		return this;
	}
	public String getCompanyID() {
		return companyID;
	}
	public TcwFinancesApiInFoId setCompanyID(String companyID) {
		this.companyID = companyID;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TcwFinancesApiInFoId setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwFinancesApiInFoId setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwFinancesApiInFoId setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwFinancesApiInFoId setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwFinancesApiInFoId tcwFinancesApiInFoId(
		String type,
		String sku,
		Integer quantity,
		BigDecimal productSales,
		BigDecimal productSalesTax,
		BigDecimal postageCredits,
		BigDecimal shippingCreditsTax,
		BigDecimal giftWrapCredits,
		BigDecimal giftwrapCreditsTax,
		BigDecimal promotionalRebates,
		BigDecimal promotionalRebatesTax,
		BigDecimal marketplaceWithheldTax,
		BigDecimal sellingFees,
		BigDecimal fbaFees,
		BigDecimal otherTransactionFees,
		BigDecimal other,
		BigDecimal total,
		String financialEventGroupId,
		String groupId,
		Date purchaseDate,
		String dataType,
		String thereDataType,
		String productCode,
		BigDecimal goodwill,
		BigDecimal variableClosingFee,
		BigDecimal restockingFee,
		BigDecimal giftwrapChargeback,
		String productName,
		BigDecimal lowValueGoods,
		BigDecimal getPaidFasterFee,
		BigDecimal shippingHB,
		String amazonOrderId,
		BigDecimal surplus,
		Date startDate,
		Date endDate,
		String currencyCode,
		String currency,
		String shopNameMc,
		String companyID,
		String shopName,
		Integer status
			) {
		TcwFinancesApiInFoId entity = new TcwFinancesApiInFoId();
		entity.setType(type);
		entity.setSku(sku);
		entity.setQuantity(quantity);
		entity.setProductSales(productSales);
		entity.setProductSalesTax(productSalesTax);
		entity.setPostageCredits(postageCredits);
		entity.setShippingCreditsTax(shippingCreditsTax);
		entity.setGiftWrapCredits(giftWrapCredits);
		entity.setGiftwrapCreditsTax(giftwrapCreditsTax);
		entity.setPromotionalRebates(promotionalRebates);
		entity.setPromotionalRebatesTax(promotionalRebatesTax);
		entity.setMarketplaceWithheldTax(marketplaceWithheldTax);
		entity.setSellingFees(sellingFees);
		entity.setFbaFees(fbaFees);
		entity.setOtherTransactionFees(otherTransactionFees);
		entity.setOther(other);
		entity.setTotal(total);
		entity.setFinancialEventGroupId(financialEventGroupId);
		entity.setGroupId(groupId);
		entity.setPurchaseDate(purchaseDate);
		entity.setDataType(dataType);
		entity.setThereDataType(thereDataType);
		entity.setProductCode(productCode);
		entity.setGoodwill(goodwill);
		entity.setVariableClosingFee(variableClosingFee);
		entity.setRestockingFee(restockingFee);
		entity.setGiftwrapChargeback(giftwrapChargeback);
		entity.setProductName(productName);
		entity.setLowValueGoods(lowValueGoods);
		entity.setGetPaidFasterFee(getPaidFasterFee);
		entity.setShippingHB(shippingHB);
		entity.setAmazonOrderId(amazonOrderId);
		entity.setSurplus(surplus);
		entity.setStartDate(startDate);
		entity.setEndDate(endDate);
		entity.setCurrencyCode(currencyCode);
		entity.setCurrency(currency);
		entity.setShopNameMc(shopNameMc);
		entity.setCompanyID(companyID);
		entity.setShopName(shopName);
		entity.setStatus(status);
		return entity;
	}
}